<?php namespace app\home\controller;


class Entry extends  Common{
	public function index() {
		$Data=Db::table('brand')->join('goods','brand.bid','=','goods.bid')->limit(2,10)->get();
		View::with('Data',$Data);
//		p($Data);die;
		$goodsData=Db::table('goods')->limit(1,4)->get();
//		p($goodsData);die;
		View::with('goodsData',$goodsData);
		return view();
	}
}